#include<bits/stdc++.h>

using namespace std;

// int p[]={2,3,5,7,11,13};
int main() {
    for (int n = 100; n <= 200; n++) {

        if (n > 2 && n % 2 == 0)continue;
        if (n > 3 && n % 3 == 0)continue;
        if (n > 5 && n % 5 == 0)continue;
        if (n > 7 && n % 7 == 0)continue;
        if (n > 11 && n % 11 == 0)continue;
        if (n > 13 && n % 13 == 0)continue;
        cout << n << endl;
    }


    return 0;
}

